package com.example.blog.service;

import com.example.blog.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.blog.entity.vo.follow.FollowDetailInfoVO;

import java.util.List;

/**
 * <p>
 * 关注表 服务类
 * </p>
 *
 * @author wlh
 * @since 2024-01-10
 */
public interface FollowService extends IService<Follow> {


    void add(Long userId);

    void del(Long userId);

    Long getNewCountByUser(Long userId);

    List<FollowDetailInfoVO> newFollow();

    void read();

    Long countByUser(Long id);

    Boolean isFollowed(Long currentUserId, Long targetUserId);

    List<Follow> getListByUser(Long currentUserId, List<Long> uids);
}
